
import { Link, Outlet } from 'react-router-dom'

const Layout = () => {
  return (
    <>
      <div>
        <div>我是Layout</div>
        <Link to="/home">面板</Link>
        <Link to="/home/about">关于</Link>

        {/* 子路由出口 */}
        <Outlet />
      </div>
    </>
  )
}

export default Layout